package tech.topcoder.springcloud.simpleservice.dao;

import java.util.List;
import tech.topcoder.springcloud.simpleservice.bean.Role;
import tech.topcoder.springcloud.simpleservice.bean.RoleExample;

public interface RoleDao {
    long countByExample(RoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    List<Role> selectByExample(RoleExample example);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
}